home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
accounts
/
econol13.arj
/
ECON2001.EXE
/
pak
/
CTEAMDAT.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-03-26
|
2KB
|
53 lines
echo off
echo ╔═════════════════════════════════════════════════════════════════╗
echo ║ ║
echo ║ The CTEAMDAT.BAT file moves the four files ║
echo ║ that are required by the ECONOLAND program ║
echo ║ from directory area C:ECONOL to ║
echo ║ area C:ECONOL\TEAMDAT ║
echo ║ that are required by the ECONOLAND program ║
echo ║ ║
echo ║ OPTION: You could use the Command Line to use different ║
echo ║ directories; for example, if you have installed the program ║
echo ║ in directory area D:\ECON\ECONOLAN and want the program to ║
echo ║ store output files in subdirectory TEAM2DAT, you would type ║
echo ║ the following to run the BAT file. ║
echo ║ CTEAMDAT D:ECON\ECONOLAN TEAM2DAT ║
echo ╚═════════════════════════════════════════════════════════════════╝
echo .
If "%1" == "" goto DEFAULT1
SET DRI1=%1%
GoTO NEXTS
:DEFAULT1
SET DRI1=C:\ECONO
echo dri1 equals %dri1%
GoTO DEFAULT2
:NEXTS
If "%2" == "" goto DEFAULT2
SET DRI2=%2%
GOTO NEXT2
:DEFAULT2
SET DRI2=TEAMDAT
echo dri2 equals %dri2%
pause
:NEXT2
echo Transfering files to %DRI1%\%DRI2%
echo Type Ctrl-C if you do not want to do this, otherwise
pause
if not exist %DRI1%\%DRI2% mkdir %DRI1%\%DRI2%
chdir %DRI1%\%DRI2%
copy %DRI1%\*.CFF
copy %DRI1%\*.CLT
copy %DRI1%\*.CLS
copy %DRI1%\*.HST
chdir %DRI1%
If exist %DRI1%\%DRI2%\ECONOL.HST goto success
echo Sorry, files NOT transfered!
Goto END
:SUCCESS
echo Operating files have been transfered to %DRI1%\%DRI2%
:END
SET DRI1=
SET DRI2=
echo .